<?php


class TextElement implements RenderableInterface
{

    protected $text;

    public function __construct($text)
    {
        $this->text = $text;
    }
    /**
     * @return mixed
     */
    public function render()
    {
        return $this->text;
    }
}